REPLICATION MATERIALS
Economic Development and Revolutions. A Cross-National Investigation
Last update of the replication scripts: 25.03.2026
Author of scripts (and mistakes): Vadim Ustyuzhanin

1. Overview

This archive contains the data, scripts, and precomputed intermediate objects used to reproduce the analyses reported in the article and in the supplementary online materials.

The package is designed to run from the root of this folder. All relative paths in the scripts assume that the working directory is the replication folder itself.

2. Contents of the archive

- MAIN.R
  Master script for the replication.

- data/findata.rds
  Final analysis dataset used by the scripts.

- data/imputations.rds
  Precomputed pooled results from the multiple-imputation analysis.

- data/ebares.rds
  Precomputed results for the extreme boundary analysis.
  This object contains results for 2,047 model specifications.

- impdata/
  Fifteen imputed datasets saved as CSV files.

- scripts/
  Analysis scripts for the different parts of the article.

- out/plots/ and out/tables/
  Output files produced by the scripts.

- replication.Rproj
  Optional RStudio project file.


4. Quick start

Inside an R session:

source("MAIN.R")

The master script reproduces the main outputs while using the included precomputed heavy objects.
Running MAIN.R overwrites files in out/plots and out/tables.


5. Outputs reproduced by MAIN.R

Main text:

- Table 1: out/tables/main_models.xlsx
- Table 2: out/tables/alt_gdp.xlsx
- Figure 1 (marginal effects from the imputed main model): out/plots/fig2_imo.jpeg
- Figure 2 (adjusted predictions from the imputed main model): out/plots/fig3_imp.jpeg
- Figure 3 (extreme boundary analysis): out/plots/fig4.jpeg

Supplementary materials:

- Table A1.1: out/tables/descriptives_imputations.rtf
- Figures A1.1-A1.2: out/plots/imp_densities.png and out/plots/overimpute_plot.png
- Table A3.1: out/tables/navco_models.xlsx
- Table A4.2: out/tables/descriptives_eba.rtf
- Appendix A5 outputs:
  out/tables/balance1.xlsx
  out/tables/balance2.xlsx
  out/tables/matching.html
  out/plots/bal1.plot.jpeg
  out/plots/bal2.plot.jpeg
  out/plots/fig_match_1.jpeg
  out/plots/fig_match_2.jpeg
- Table A6.1: out/tables/descriptives.rtf

Additional listwise-deletion and NAVCO plots are also written to out/plots.


6. Heavy computations and full recomputation

Two computationally expensive steps are distributed with precomputed results so that the package can be rerun in reasonable time:

- Multiple-imputation analysis: results are stored in data/imputations.rds
- Extreme boundary analysis: results are stored in data/ebares.rds

If full recomputation from scratch is desired:

- Uncomment source("scripts/imputations.R") in MAIN.R to regenerate the 15 imputed datasets and their diagnostic outputs.
- Uncomment the parallel blocks in scripts/imputations_analysis.R to rebuild data/imputations.rds from the CSV files in impdata/.
- Uncomment the parallel block in scripts/eba.R to rebuild data/ebares.rds.

Notes:

- Multiple imputation is stochastic, so regenerated imputed datasets will differ slightly from the included copies.
- The extreme boundary analysis evaluates 2,047 specifications and can take about 10 hours on 8 processors.
- The imputation analysis also benefits from parallel processing.

